﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Program
    {
        static void Main(string[] args)
        {
            Tiger t = new Tiger();
            t.Leg = 4;
            t.Walk();
            t.Sleep();
            t.Eat();
            t.Cry();
            t.SeeInNight();
            Console.WriteLine("-----------------------");

            Cat c = new Cat();
            c.Leg = 4;
            c.Walk();
            c.Sleep();
            c.Eat();
            c.Cry();
            c.SeeInNight();
            c.CatchMouse();
            Console.WriteLine("-----------------------");

            Eagle e = new Eagle();
            e.Leg = 2;
            e.Walk();
            e.Sleep();
            e.Eat();
            e.Cry();
            e.Fly();
            Console.WriteLine("-----------------------");

            Swallow s = new Swallow();
            s.Leg = 2;
            s.Walk();
            s.Cry();
            s.Fly();
            s.FlyToSouth();


        }
    }
}
